import inspect

def module_exists(module_name:str) -> bool:
    import importlib.util
    try:
        spec = importlib.util.find_spec(module_name)
        return spec is not None
    except ImportError:
        return False

def python_version() -> str:
    import platform
    return platform.python_version()
